/**
 * autores: Emil; Marcos Luciano
 */

package br.ita.doacoes.view.cadastrofamilia;

import br.ita.doacoes.core.cadastrofamilia.dao.GenericDAOJPA;
import br.ita.doacoes.domain.cadastrofamilia.Familia;
import br.ita.doacoes.domain.cadastrofamilia.Integrante;

public class BuscaPanel extends ProcuraButtonPanel {

	public BuscaPanel() {
		super();
		this.setClasse(Integrante.class);
		this.setClasse2(Familia.class);
		this.setXmlTable("integrantepesquisaTable.xml");
		this.setXmlTable2("familiaTable.xml");

		this.setTableName("integrantepesquisaTable");
		this.setTableName2("familiaTable");
		this.setDao(new GenericDAOJPA(Integrante.class, "procura integrante"));
		this.setDao2(new GenericDAOJPA(Familia.class, "procura familia"));

		this.init();
	}

}